Part Number Hot Search : 
SB9TTSR MX29L NE73435 AS50351 DBL358 STA1052 FN4459 M1475A
Product Description
Full Text Search
 

To Download ADNS-2030 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  agilent ADNS-2030 low power optical mouse sensor data sheet description the ADNS-2030 is a low-power optical mouse sensor used to implement a non-mechanical tracking engine for computer mice. with a 3.3v power supply and power-sa ving sleep functions, t his sensor is par- ticularly suited to cor dless mouse applications. it is based on optical naviga- tion t echnology, which mea- sures changes in position by optically acquiring sequential surface images (frames) and mathematically deter mining the direction and magnitude of movement. the sensor is housed in a 16- pin st aggered dual inline package (dip) that is designed for use with the hdns-2100 lens and hdns-2200 clip and hlmp -ed80-xx000 ( 639 nm led illuminator sour ce). there are no mo ving parts, and precision optical alignment is not required, facilitating high volume assembly. the output for mat is two channel quadrature (x and y direction) which emulates encoder photo-transist ors. the current x and y infor mation are also a vailable in registers accessed via a serial port. default resolution is specified as 400 counts per inch, with rates of motion up to 14 inches per second. resolution can also be prog rammed to 800 cpi. the part is programmed via a two wire serial port, through registers. theory of operation the ADNS-2030 is based on optical navigation t echnology. it cont ains an image a cquisi- tion system (ias), a digital signal pr ocessor (dsp) and a two channel quadrature output, and a two wire serial port. the ias acquires micr oscopic surface images via the lens and illumination system pro vided by the hdns-2100, 2200, and hlmp- ed80-xx000. these images are pr ocessed by the dsp to determine the direction and distance of motion. the dsp generates the ? x and ? y relative displacement values that are converted to two channel quadrature signals. features ? precise optical navigation technology  no mechanical moving parts  complete 2d motion sensor  serial interface and/or quadrature interface  smooth surface navigation  programmable frame speed up to 2300 frames per sec (fps)  accurate motion up to 14 ips  800 cpi resolution  high reliability  high speed motion detector  wave solderable  single 3.3 volt power supply  shutdown pin for usb suspend mode operation  power conservation mode during times of no movement  on chip led drive with regulated current  serial port registers ? programming ? data transfer  16-pin staggered dual inline package (dip) applications  cordless optical mice  mice for desktop pcs, worksta- tions, and portable pcs  trackballs  integrated input devices
2 pinout of ADNS-2030 optical mouse sensor pin number pin description 1 sclk serial port clock (input) 2 xa xa quadrature output 3 xb xb quadrature output 4 yb yb quadrature output 5 ya ya quadrature output 6 xy_led led control 7 refa internal reference 8 refb internal reference 9 osc_in oscill ator input 10 gnd system ground 11 osc_out oscillator output 12 gnd system ground 13 v dd 3.3 volt power supply 14 r_bin led current bin resistor 15 pd power down pin, active high 16 sdio serial data (input and output) figure 2. package outline drawing of ADNS-2030 optical mouse sensor. figure 1. top view. caution: it is advised that normal static precautions be taken in handling and assembly of this component to prevent damage and/or degradation which may be induced by esd. 8 7 6 5 4 3 2 1 sclk xa xb yb ya xy_led refa refb gnd osc_in osc_out gnd v dd sdio pd r_bin 9 10 16 15 14 13 12 11 a2030 yyww notes: 1. dimensions in mm/in. 2. dimensonal tolerance: 0.1 mm 3. coplanarity of leads: 0.1 mm 4. lead pitch tolerance: 0.15 mm 5. cumulative pitch tolerance: 0.15 mm 6. angular tolerance: 3.0 7. maximum flash +0.2 mm 8. chamfer (25 x 2) on the taper side of the lead. 9. * these dimensions are for references only and should not be used to mechanically reference the sensor 0.25 0.010 5 typ kapt0n tape lead width lead offset lead pitch 1.42 0.056 3.18 0.125 0.99 0.039 5.15 0.203 6.17 0.243 2.54 0.100 1.27 0.050 0.50 0.020 13.38 0.527 4.55 0.179 6.02 0.237 12.34 0.486 9.10 0.358 22.30 0.878 5.60 0.220 0.80 0.032 a2030 yyww pin 1
3 overview of optical mouse sensor assembly 2d assembly drawing of ADNS-2030 figures 3 and 4, shown with hdns-2100, hdns-2200 and hlmp-ed 80-xx000. agilent t echnologies pro vides an iges file dra wing describing the base plat e molding f eatures for lens and pcb alignment these components inte rlock as they are mounted onto defined features on the base plate. the ADNS-2030 sensor is designed for m ounting on a through hole pcb, looking down. there is an aper ture stop and f eatures on the package t hat align to the lens. the hdns-2100 lens pro vides optics for the imaging of the surface as w ell as illumination of the surface at the optimum angle. f eatures on the lens align it to the sensor, base plate, and clip with the led. the lens also has a large r ound flange to pro vide a long creep- age path for any esd events that occur at the opening of the base plate. the hdns-2200 clip holds the led in relation to the lens. the led must be inserted into the clip and the leds leads formed prior to loading on the pcb. the clip int erlocks the sensor to the l ens, and thr ough the lens to the alignment features on the base plate. the hlmp -ed80-xx000 led is recommended for illumination. if used with the bin t able, sufficient illumination can be guaranteed. figure 5. exploded view drawing. figure 3. recommended pcb mechanical cutouts and spacing (top view). hdns-2200 (clip) hlmp-ed80-xx000 (led) ADNS-2030 (sensor) customer supplied pcb hdns-2100 (lens) customer supplied base plate with recommended alignment features per iges drawing figure 4. 2d assembly drawing of ADNS-2030 (top and side view). 3.50 0.138 0 ref 0 ref clear zone 0.091 2.32 1.194 30.32 1.551 39.39 1.596 40.53 0.050 1.27 0.448 11.38 0.496 12.60 0.295 7.50 0.201 5.10 0.048 1.22 0.050 1.28 0.546 13.88 all dimensions inch mm 0.8 0.031 recommended (16 places) base plate plastic spring clip base plate alignment post sensor pcb esd lens ring 7.45 0.293 44.29 1.744 19.10 0.752 13.82 0.544 10.58 0.417 14.58 0.574 dimensions in mm/in. +x +y (top view) (side view)
4 pcb assembly considerations 1. insert the sensor and all other electrical com ponents into pcb. 2. bend the led leads 90 and then insert the led into the assembly clip until the snap feature locks the led base. 3. insert the led/clip assembly into pcb. 4. wave solder the entire assembly in a no-wash solder pr ocess utilizing solder fixture. the solder fixture is needed to protect the sensor during the solder process. the f ixture should be designed to expose the sensor leads to solder while shielding the optical aper- ture from direct solder cont act. the solder f ixture is also used to set the refer- ence height of the sensor to the pcb top during wave soldering (note: do not remove the kapton tape during wave soldering). 5. place the lens onto the base plate. figure 6. block diagram of ADNS-2030 optical mouse sensor. design considerations for improving esd performance the flange on the lens has been designed to increase the creepage and clearance dis- tance for electrost atic dis- charge. the table below shows typical values assuming base plate constr uction per the agilent supplied iges file and hdns-2100 lens f lange. typical distance millimeters creepage 16.0 clearance 2.1 for improved esd perfor- mance, the lens f lange can be sealed (i.e. glued) to the base plate. note t hat the lens material is poly carbonate and theref ore, cyanoacrylate based adhesives or ot her adhesives that may damage the lens should not be used. figure 7. pcb assembly. 6. remove the protective kapton t ape from optical aper ture of the se nsor. care must be taken to keep cont aminants from ent ering the aperture. it is re com- mended not to place the pcb facing up during the entire mouse assembly process. the pcb should be held ver tically d uring the kapton removal pr ocess. 7. insert pcb assembly over the lens onto the base plate aligning post. the sensor aper ture ring should self- align to the lens. 8. the optical position refer- ence for the pcb is set by the base plate and lens. note that the pcb m otion due to button presses must be minimized to maintain optical alignment. 9. inst all mouse top case. there must be a f eature in the top case to press down onto the clip to ensure all components are int erlocked to the correct ver tical height. quadrature output image processor power on reset power inputs 3.3 volt power pd gnd refb led drive oscillator led resonator osc_in osc_out xy_led xb xa r_bin quadrature outputs ya yb serial port sclk sdio v dd gnd serial port refa voltage reference pcb sensor led base plate lens/light pipe clip surface note: it is recommended to submit all application designs including changes to form, fit or function f or esd spec compliance.
5 figure 8. typical application for cordless optical mouse. v dd (3v) 0.1 f gnd v dd 13 gnd sclk sdio pd xa 2345 r1 = 15k xb yb ya 15 1 16 10 12 p1.7 p1.6 8 9 7 20 19 xtal1 12 mhz xtal2 1 45 18 p3.4 p3.5 p3.0 p3.1 p3.2 p3.3 vcc rst 10 gnd xy_led 6 9 11 7 8 14 4.7 f surface 18 mhz 0.1 f 2.2 f ceramic resonator murata csals18m0x53-bo tdk fcr18.0m2g hdns 2100 lens internal image sensor hlmp-ed80-xx000 r_bin osc_in refb refa osc_out ADNS-2030 3.0 volt c lm3352 p1.5 17 14 r l m buttons 15 16 p1.2 p1.3 p1.4 40 pf 40 pf gnd shld 2 3 6 gnd qa qb v dd r z led v dd rf transmitter circuitry gnd c3? recommended typical application (transmitter side) c3+ c2? c2+ c1? c1+ vout gnd c fil nsd v in gnd gnd gnd 16 14 12 9 15 13 10 15 f 0.33 f 3.3 v r2 = 2.7 11 1 2 3 4 5 6 7 8 nc 1 f 0.33 f 0.33 f 100 f 0.1 f v dd d+ d- gnd shld p0.7 p0.6 p0.5 12 8 1.3 k 13 7 11 16 15 xtalin 6 mhz (optional) xtalout 6 10 9 17 d- vreg rf receiver circuitry d+ vpp v dd vss cypress cy7c63723a-pc recommended typical application (receiver side) r1 value (ohms) 15 15 15 15 15 18 22 27 33 37 k l m n p q r s t u led bin (5v)
6 regulatory requirements ? passes fcc b and w orldwide analogous emission limits when assembled into a mouse with unshielded cable and following a gilent recommen- dations. ? passes en61000-4-4/iec801- 4 eft t ests when assembled into a mouse with unshielded cable and follow - ing agilent r ecommenda- tions. ? ul flammability level ul94 v- 0. ? provides sufficient esd creepage/clearan ce d istance to avoid discharge up to 15kv when assembled into a mouse accor ding to usage instructions above. ? for eye safety consideration, please refer to the docu- ment, eye saf ety calculation an1228 available on the web site, http://www .agilent.com/ view/opticalnavigation. ? the 15.0 k ? resistor is determined by the absolute maximum rating of 50 ma for the hlmp -ed80-xx000 . the ot her resistor values for brighter bins will guarantee sufficient intensity with reduced power. absolute maximum ratings parameter symbol minimum maximum units notes storage temperature t s -40 85 c operating temperature t a -15 55 c lead solder temp 260 c for 10 seconds, 1.6 mm below seating plane supply voltage v dd -0.5 3.6 v esd 2 kv all pins, human body model mil 883 method 3015 input voltage v in -0.5 v dd + 0.5 v all i/o pins notes on bypass capacitors ? caps for pins 7, 8 and 12, 13 must have trace lengths less than 5 mm. ? the 0.1 f caps must be ceramic. ? caps should have less than 5 nh of self induct ance. ? caps should have less than 0.2 ? of esr. ? surface mount parts are recommended.
7 recommended operating conditions parameter symbol minimum t ypical maxi mum units n otes operating temperature t a 040c power supply voltage v dd 3.0 3.3 3.6 volts power supply rise time v rt 100 ms supply noise v n 30 mv peak to peak @27 mhz bandwidth clock frequency f clk 17.4 18.0 18.7 mhz set by ceramic resonator serial port clock frequency sclk f clk /4 mhz resonator impedance x res 55 y distance from lens reference z 2.3 2.4 2.5 mm results in 0.2 mm dof plane to surface (see figure 9.) speed s 0 14 in/sec @ frame rate = 1500 fps acceleration a 0.15 g @ frame rate = 1500 fps light level onto ic irr inc 80 25,000 mw/m 2 = 639 nm 100 30,000 = 875 nm sdio read hold time t hold 100 s hold time for valid data (refer to figure 27.) sdio serial write-write time t sww 100 s time between two write commands (refer to figure 30.) sdio serial write-read time t swr 100 s time between write and read operation (refer to figure 31.) sdio serial read-write time t srw 120 ns time between read and write operation (refer to figure 32.) sdio serial read-read time t srr 120 ns t ime between two read commands (refer to figure 32.) data delay after pd t compute 3.2 ms after t compute , all registers contain data from first image after pd . note that an additional 75 frames for agc stabilization may be required if mouse movement occurred while pd was high. (refer to figure 11.) sdio write setup time t setup 60 ns data valid time before the rising of sclk (refer to figure 25.) pd pulse width t pdw 700 s pulse width to initiate the power (to power down the chip) down cycle @1500 fps (refer to figure 13.) pd pulse width t pd 100 s pulse width to reset the serial port (to reset the serial port) @1500 fps (but may also initiate a power down cycle) (refer to figure 11.) frame rate fr 1500 frames/s see frame_period register section bin resistor r1 15k 15k 37k ? ? ? ? ? refer to figure 8
8 figure 9. distance from lens reference plane to surface. ac electrical specifications electrical characteristics over recommended operating conditions. typical values at 25c, v dd = 3.3 v, 18 mhz, 1500 fps. parameter symbol min. typ. max. units n otes power down t pd 700 s from pd time uncertainty due to firmware delay (refer to figure 11). power up from pd t pupd 50 ms from pd to valid quad signals 705 sec + 75 frames (refer to figure 11). powerup from v dd t pu 30 ms from v dd to valid quad signals 705 sec + 40 frames rise and fall times sdio t r 15 ns c l = 30 pf (the rise time is between 10% to 90%) t f 12 ns c l = 30 pf (the fall time is between 10% to 90%) xa, xb, ya, yb t r 30 ns c l = 30 pf (the rise time is between 10% to 90%) t f 22 ns c l = 30 pf (the fall time is between 10% to 90%) iled t r 35 ns with hlmp-ed80-xx000 led (the rise time is between 10% to 90%). t f 170 ns with hlmp-ed80-xx000 led (the fall time is between 10% to 90%). serial port transaction timer t sptt 0.7 0.9 1.0 s serial port will reset if current transaction is not complete within t sptt (refer to figure 35). transient supply current i ddt 18 37 ma max supply current during a v dd ramp from 0 to 3.3v with > 500 ms rise time. does not include charging current for bypass capacitors. ADNS-2030 hdns-2100 z object surface
9 dc electrical specifications electrical characteristics over recommended operating conditions. typical values at 25c, v dd = 3.3 v, 18 mhz. parameter symbol min. typ. max. units n otes dc supply current (mouse moving) i dd avg 13 23 ma no load on xa, xb, ya, yb, sclk, sdio. excluding led current. peak supply current i dd peak 18 ma no load on xa, xb, ya, yb, sclk, sdio. (mouse moving) excluding led current. dc supply current i dd 10 23 ma no load on xa, xb, ya, yb, sclk, sdio. (mouse not moving) excluding led current. dc supply current (power down) i ddpd 430apd = v dd , sclk, sdio = gnd or v dd sclk, sdio, pd input low voltage v il 0.8 v input high voltage v ih 0.65 * v dd v output low voltage v ol 0.45 v @ i ol = 2 ma (sdio only) output high voltage v oh 0.6 * v dd v@ i oh = 2 ma (sdio only) output low voltage (xa, xb, ya, yb) v ol 0.6 v @i ol = 0.5 ma output high voltage (xa, xb, ya, yb) v oh 0.6 * v dd v@i oh = 0.5 ma output low voltage (xy_led) v ol 0.5 v refer to figure 10. xy led current i led typ ?20% 614/r1 typ +20% a recommended operating conditions typ ?15% 614/r1 typ +15% a @ 25c, v dd = 3.3 v (refer to figure 10 and table below). xy led current (fault mode) i led 1000 a r1 < 200 ? ? ? ? ? powerup xy led current i led 500 a v dd < 2.5 v figure 10. typical i-v characteristic of ADNS-2030 xy_led pin. typical led current table r1 value k ? ? ? ? ? 15 18 22 27 33 37 led current (typical) ma 41 34 28 23 19 17 r1 = 15k r1 = 37k vol (v) normalized iled% 0 2.5 1.0 0.5 2.0 1.5 120 100 80 60 40 20 0
10 pd pin timing figure 11. pd timing ? normal mode. figure 13. pd minimum pulse width. figure 12. pd timing ? sleep mode. figure 14. detail of pd falling edge timing. i dd t pd t pupd pd 705s 75 frames t compute (see figure 14) pd i led t compute sclk register read operation (power down) pd ~ 700 s t pdw led current oscillator start pd 250 s reset count 455 s initialization new acquisition 2410 s sclk optional spi transactions with old image data 705 s t compute spi transactions with new image data at default frame rate
11 quadrature mode timing the output wavefo rms emulate the output fr om encoders. with the resolution set to 400 cpi, from one to five quadrature states can exist within one frame time. the minimum state time is 133 s. if the resolution is 800 cpi, then up to ten quadrature states can exist within a frame time. if the motion wit hin a frame is greater t han t hese values, the extra motion will be reported in the next frame. the f ollowing diag rams (see figures 15, 16 and 17) show the timing for positive x motion, to the right, or positive y motion, up. if a power down via the pd pin occurs during a transfer, the transfer w ill resume after pd is de-assert ed. the timing for that quadrature state will be in- creased by the length of the pd time. figure 15. quadrature states per frame (400 cpi mode). xa / ya xb / yb five or more four xa / ya xb / yb 267 s three xa / ya xb / yb 400 s two xa / ya xb / yb 533 s one xa / ya xb / yb 667 s ~667 s @ 1500 frames/second one frame 133 s 133 s 133 s 133 s 133 s 133 s 133 s 133 s 133 s 133 s 133 s x motion to the right y motion up
12 figure 16. quadrature states per frame (800 cpi mode). xa / ya xb / yb ten or more nine xa / ya xb / yb eight xa / ya xb / yb seven xa / ya xb / yb six xa / ya xb / yb ~667 s @ 1500 frames/second one frame 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 133 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 200 m s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 266 m s 333 s x motion to the right y motion up
13 figure 17. quadrature states per frame (800 cpi mode). xa / ya xb / yb five four xa / ya xb / yb three xa / ya xb / yb two xa / ya xb / yb one xa / ya xb / yb ~667 s @ 1500 frames/second one frame 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 66.7 s 400 s 476 s x motion to the right y motion up
14 quadrature state machine the f ollo wing state machine shows the states of the quadrature pins. the two things to note are t hat while figure 18. quadrature state machine. quadrature output waveform the two channel quadrature outputs are 3.3 volt cmos outputs. the ? x count is used to generate the xa and xb signals, and ? y count is used for the ya and yb signals. figure 19. quadrature output waveform. the pd pin is asserted, the state machine is halted. once pd is de-asserted, the state machine picks up from where it left off. state 0 is entered after a power up reset. state 0 state 2 state 3 state 1 +1 -1 -1 +1 +1 -1 -1 +1 pd pd pd pd state 0 1 2 3 x and y output ab 00 01 10 11 -1 -1 -1 -1 left motion (? direction) xa xb motion count +1 +1 +1 +1 right motion (+ direction) xa xb motion count +1 +1 +1 +1 up motion (+ direction) ya yb motion count -1 -1 -1 -1 down motion (? direct ion) ya yb motion count
15 typical performance characteristics performance characteristics over recommended operating conditions. typical values at 25c, v dd = 3.3 v, 18 mhz. parameter symbol min. typ. max. units n otes path error (deviation) p error 0.5 % path error (deviation) is the error from the ideal cursor path. it is expressed as a percentage of total travel and is measured over standard surfaces. the f ollo wing g raphs (f igs 20C 23) are the typical perfor mance of the ADNS-2030 sensor, assembled as shown in the 2d notes : 1. the ADNS-2030 is designed for optimal performance when used with the hlmp-ed80-xx000 (red led 639nm). for use with other led colors (ie. blue, green), please consult factory. when using alternate led?s there may also be performance degradation and additional eye safety consideration. 2. z = distance from lens reference plane to surface. 3. dof = depth of field white paper manila folder burl formica dark walnut black copy recommended operating region dof height, z (mm) (2.4 = nominal focus) counts per inch 3.5 2.3 1.5 3.1 2.7 1.9 450 350 250 150 50 -50 figure 20. typical resolution vs. height, z. (comparative surfaces) dof z wavelength (nm) relative responsivity 400 1000 700 500 900 800 600 1.0 0.8 0.6 0.4 0.2 0 figure 21. wavelength responsivity [1] . 100% 75% 50% recommended operating region dof height, z (mm) (2.4 = nominal focus) counts per inch 3.5 2.3 1.5 3.1 2.7 1.9 450 400 350 300 250 200 150 100 50 0 figure 22. typical resolution vs. height, z. (manila folder and led variation) [2,3] dof z 100% 75% 50% recommended operating region dof height, z (mm) (2.4 = nominal focus) counts per inch 3.5 2.3 1.5 3.1 2.7 1.9 450 400 350 300 250 200 150 100 50 0 -50 figure 23. typical resolution vs. height, z. (black copy and led variation) [2,3] dof z assembly drawing with the hdns-2100 lens/prism, the hdns-2200 clip, and the hlmp -ed80-xx000 led (see figure 5).
16 synchronous serial port the synchronous serial port is used to set and read param- eters in the ADNS-2030, and can be used to read out the motion information inst ead of the quadrature data pins. the port is a two wire, half duplex port. the host microcontr oller always initiates communication; the ADNS-2030 never initiates data transf ers. sclk : the serial port clock. it is alwa ys generated by the master (the micr ocontroller). sdio : the data line. pd : a third line is sometimes involved. pd (power down) is usually used to place the ADNS-2030 in a low power mode. pd can also be used to force re-synchronization be- tween the micr ocontr oller and the ADNS-2030 in case of an error. figure 24 . write operation. figure 25. sdio setup and hold times sclk pulse width. sclk sdio sdio driven by microcontroller 1 a 6 a 5 a 4 a 3 a 2 a 1 a 0 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 sclk cycle # don't care sclk sdio t setup = 60 ns, min 120 ns, min 120 ns 120 ns write operation a write operation, which means that data is going from the micr ocontr oller to the ADNS-2030, is alwa ys initiated by the micr ocontr oller and consists of two byt es. the f irst byte contains the address (seven bits) and has a 1 as its msb to indicate data direction. the second byte cont ains the data. the trans- fer is synchr onized by sclk . the micr ocontr oller changes sdio on falling edges of sclk . the ADNS-2030 reads sdio on rising edges of sclk.
17 read operation a read operation, which means that data is going from the ADNS-2030 to the microcontroller, is always initi- ated by the micro-controller and consists of two byt es. the f irst byte contains the address, is written by the micro-contr oller, and has a 0 as its msb to figure 26. read operation. figure 27. microcontroller to ADNS-2030 sdio handoff. note: the 120 ns high state of sclk is the minimum data hold time of the ADNS-2030. since the falling edge of sclk is actually the st art of the next read or write command, the indicate data direction. the second byte contains the data and is driven by the ADNS-2030. the transfer is synchr onized by sclk . sdio is changed on falling edges of sclk and read on every rising edge of sclk . the micro-contr oller must go to a high z state after the last address data bit. the ADNS-2030 will go to the high z state after the last data b it. (see detail b in figure 28). one ot her t hing to note during a read operation is that sclk will need to be delayed after the last address data bit to ensure t hat the ADNS-2030 has at least 100 s to prepare the requested data. this is shown in the timing diag rams below. figure 28. ADNS-2030 to microcontroller sdio handoff. ADNS-2030 will hold the state of d 0 on the sdio line until the falling edge of sclk. in both write and read opera- tions, sclk is driven by the microcontroller. sdio driven by microcontroller sdio driven by ADNS-2030 1 2 3 4 5 6 7 8 sclk cycle # sclk sdio 0 a 6 a 5 a 4 a 3 a 2 a 1 a 0 d 6 d 5 d 4 d 3 d 2 d 1 d 0 d 7 9 10 11 12 13 14 15 16 detail "a" detail "b" 120 ns, max microcontroller to ADNS-2030 sdio handoff detail "a" a 0 120 ns, min sclk sdio hi-z 0 ns, min a 1 120 ns, max d 7 0 ns, min d 6 60 ns, min t hold 100 s, min ADNS-2030 to microcontroller sdio handoff detail "b" sclk sdio 120 ns, min d 0 10 ns, max r/w bit of next address released by 2030 driven by micro serial port communications is not allowed while pd (power down) is high. see error detection and recovery regar ding re-synchronizing via pd.
18 forcing the sdio line to the hi-z state there are times when the sdio line from the ADNS-2030 should be in the hi-z state. if the micropr ocessor has com pleted a write to the ADNS-2030, the sdio line is hi-z, since the sdio pin is still configured as an input. however, if the last opera- tion from the micropr ocessor was a read, the ADNS-2030 will hold the d0 state on sdio until a falling edge of sclk. to place t he sdio pin into the hi-z state, first raise the pd pin for 100 s (min). the pd figure 30. timing between two write commands. figure 31. timing between write and read commands. figure 32. timing between read and either write or subsequent read commands. pin can stay high, with the ADNS-2030 in the shutdown state, or the pd pin can be lowered, retur ning t he adns- 2030 to normal operation. in either case, the sdio line will now be in the hi-z state. sdio pd hi-z 100s figure 29. sdio hi-z state and timing. sclk address data t sww 100 s write operation address data write operation sclk address data write operation address next read operation t swr 100 s data t hold 100 s address t srw and t srr >120 ns next read or write operation address sclk read operation required timing between read and write commands there are minimum timing requirements betw een read and write comm ands on the serial port. see figure 30. if the rising edge of sclk for the last data bit of the second write comm and occurs before the 100 micr osecond required delay, t hen the f irst write command may not com plete correctly. see f igure 31. if the rising edge of sclk for the last address bit of t he read command occurs bef ore the 100 micr osecond required delay, then the write command may not com plete correctly. see figure 32.
19 the falling edge of sclk for the first address bit of either the read or write command must be at least 120 ns after the last sclk rising edge of the last data bit of the pre vious read operation. data sclk pd > 1 s figure 33. timing between sclk and pd rising edge. error detection and recovery 1. the ADNS-2030 and the microcontr oller might get out of synchronization due to esd events, power supply droops or micr ocontroller firmware fla ws. in such a case the micr ocontroller should raise pd for 100 s. the ADNS-2030 will reset the serial port but will not reset the regist ers, and be pre- pared for the begi nning of a new transmission. 2. the ADNS-2030 has a transaction timer for the serial port. if the 16 th sclk rising edge is spaced more than appro ximately 0.9 seconds from the first sclk edge of the cur rent transac- tion, the seria l port will reset. 3. invalid addresses: writing to an invalid address will have no eff ect. reading from an invalid address will return all zeros. 4. collision det ection on sdio: the only time that the ADNS-2030 drives the sdio line is during a read opera- tion. to avoid data collisions, the micr ocontr oller should relinquish sdio bef ore the falling edge of sclk after the last address bit. the ADNS-2030 begins to drive sdio after the next rising edge of sclk. the adns- 2030 relinquishes sdio within 120 ns of the falling sclk edge after the last data bit. the micr ocontr oller can begin driving sdio any time after that. in order to main- tain low power consum ption in normal operation or when the pd pin is pulled high, the micro-contr oller should not leave sdio f loating until the next transmission (al- though that will not cause any communication diff icul- ties). 5. in case of synchron ization failure, both the ADNS-2030 and the micr ocontrol ler may drive sdio. the ADNS-2030 can withstand 30 ma of short cir cuit current and will withstand inf inite duration short cir cuit condi- tions. 6. termination of a transmission by the microcontroller may sometimes be required (for exam ple, due to a usb suspend interrupt during a read operation). to accom- plish t his the micr ocontroller should raise pd. the ADNS-2030 will not write to any register and will reset the serial port (but not hing else) and be prepared for the beginning of future transmis- sions after pd goes low. 7. the micr ocontr oller can verify success of write operations by issuing a read command to the same address and com paring written data to read data. 8. the micr ocontr oller can verify t he synchr onization of the serial port by periodically reading the product id register.
20 notes on power up and the serial port the sequence in which v dd , pd, sclk and sdio are set during powerup can affect the operation of the serial port. the diagram below shows what can happen shortly after powerup when the micropro - cessor tries to read data from the serial port. this diagram shows the v dd rising to valid lev els, at some point the micr ocontr oller starts its program, sets the sclk and sdio lines to be outputs, and sets them high. it then waits to ensure t hat the ADNS-2030 has powered up and is ready to communicate. the microproces- figure 34. power up serial port sequence. sor then tries to read from location 0x00, product_id, and is expecting a value of 0x03. if it receives t his value, it then knows that the communication to the ADNS-2030 is opera- tional. the problem occurs if the ADNS-2030 pow ers up before the microprocessor sets the sclk and sdio lines to be outputs and high. the adns- 2030 sees the raising of the sclk as a valid rising edge, and clocks in the state of the sdio as the first bit of the address (sets eit her a read or a write depending upon the state). in the case of sdio low, then a read operation has started. when the micropr ocessor begins to actually send the address, the ADNS-2030 al- ready has the f irst bit of an address. when the 7 th bit is sent by the micro, the ADNS-2030 has a valid ad- dress, and drives the sdio line high wit hin 120 ns (see detail a in figure 26 and f igure 27). this results in a bus fight for sdio. since the address is wrong, the data sent back will be incor rect. in the case of sdio high, a write operation is started. the address and data are out of synchr onization, and the wrong data will be written to the wrong address. data 0x03 address 0x00 sclk sdio pd v dd problem area
21 two solutions there are two dif ferent ways to solve the problem: (1) waiting for t he serial port watchdog timer to time out, or (2) using the pd line to reset the serial port. 1. serial port watchdog timer timeout (refer to figure 35.) if the microprocessor waits at least t sptt from v dd valid, it will ensure that the ADNS-2030 has pow ered up and the watch- dog timer has timed out. this assumes t hat the micropr ocessor and the ADNS-2030 share the same power supply. if not, then the micropr ocessor must wait t sptt from ADNS-2030 v dd valid. then when the sclk toggles for the address, the ADNS-2030 will be in sync with the micro - processor. 2. pd sync (refer to figure 36.) the pd line can be used to resync the serial port. if the micropr ocessor waits for 4 ms from v dd valid, and then outputs a valid pd pulse (refer to figure 14), then the serial port will be ready for data. resync note if the microprocessor and the ADNS-2030 get out of sync, then the data either written or read from the regist ers will be incorrect. an easy way to solve this is to output a pd pulse to resync the parts after an incorrect read. data = 0x03 address = 0x00 sclk sdio pd v dd >t sptt data = 0x03 address = 0x00 sclk sdio pd v dd 4 ms figure 35. power up serial port watchdog timer sequence. figure 36. power up serial port pd sync sequence.
22 registers the ADNS-2030 can be pro - grammed thr ough regist ers, via the serial port, and configura- tion and motion data can be read from t hese regist ers. address register 0x00 product_id 0x01 revision_id 0x02 motion 0x03 delta_x 0x04 delta_y 0x05 squal 0x06 aver age_pixel 0x07 maximum_pixel 0x08 reserved 0x09 reseved 0x0a configuration_bits 0x0b reserved address register 0x0c data_out_lower 0x0d data_out_upper 0x0e shutter_lower 0x0f shutter_upper 0x10 frame_period_lower 0x11 frame_period_upper product_id address: 0x00 access: read reset value: 0x03 bit76543210 field pid 7 pid 6 pid 5 pid 4 pid 3 pid 2 pid 1 pid 0 data type : eight bit number with the product identifier. usage: the value in this register does not change; it can be used to verify that the serial communications link is ok. revision_id address: 0x01 access: read reset value: 0xnn bit76543210 field pid 7 pid 6 pid 5 pid 4 pid 3 pid 2 pid 1 pid 0 data type: eight bit number with current revision of the ic. usage : nn is a value between 00 and ff which represent the current design revision of the device. ic revision nn rev. 1.0 0x10 rev. 2.0 0 x 20
23 motion address: 0x02 access: read reset value: 0x00 bit76543210 field mot reserved fault ovfy ovfx reserved reserved res data type : bit field usage: register 0x02 allows the user to determine if motion has occurred since the last time it was read. if so, then the user should read registers 0x03 and 0x04 to get the accumulated motion. it also tells if the motion buffers have overflowed and whether or not an led faul t occurred since the last reading. the current resolution is also shown. field name description mot motion since last report or pd 0 = no motion 1 = motion occurred, data ready for reading in delta_x and delta_y registers reserved reserved for future fault led fault detected ? set when rbin is too low or too high, shorts to v dd or ground 0 = no fault 1 = fault detected ovfy motion overflow y, ? y buffer has overflowed since last report 0 = no overflow 1 = overflow has occurred ovfx motion overflow x, ? x buffer has overflowed since last report 0 = no overflow 1 = overflow has occurred reserved reserved reserved for future res resolution in counts per inch 0 = 400 1 = 800 notes for motion: 1. reading this register freezes the delta_x and delta_y register values. read this register before reading the delta_x and delta_y registers. if delta_x and delta_y are not read before the motion register is read a second time, the data in delta_x and delta_y will be lost. 2. agilent recommends that registers 0x02, 0x03 and 0x04 be read sequentially. 3. internal buffers can accumulate more than eight bits of motion for x or y. if either one of the internal buffers overflows, then absolute path data is lost, and the ovfx or ovfy bit is set. to clear these bits (ovfx and ovfy), read the motion, delta_x and delta_y registers consecutively. repeat until the motion bit (mot) is cleared. until mot is cleared, the delta_x or delta_y registers will read either positive or negative full scale, except possibly the last read. if the motion register has not been read for long time, at 400 cpi it may take up to 16 read cycles to clear the buffers, at 800 cpi, up to 32 cycles. 4. the fault bit signifies that an led fault has occurred since the last time the motion register was read. an led fault occurs if rbin has a low resistance connection to ground. when this is detected the led is turned off. the fault bit is set after a fault occurs. the fault bit remains set until the fault condition is cleared and the motion register is read. this bit is updated only when the motion register is read. once an led fault has cleared, the hardware will drive the led normally.
24 delta_x address: 0x03 access: read reset value: 0x00 bit76543210 field x 7 x 6 x 5 x 4 x 3 x 2 x 1 x 0 data type: eight bit 2?s complement number. usage: x movement is counts since last report. absolute value is determined by resolution. reading clears the register. delta_y address: 0x04 access: read reset value: 0x00 bit76543210 field x 7 x 6 x 5 x 4 x 3 x 2 x 1 x 0 data type: eight bit 2?s complement number. usage: y movement is counts since last report. absolute value is determined by resolution. reading clears the register 00 01 02 7e 7f +127 +126 +1 +2 ff fe 81 80 0 -1 -2 -127 -128 motion delta_x 00 01 02 7e 7f +127 +126 +1 +2 ff fe 81 80 0 -1 -2 -127 -128 motion delta_y
25 squal address: 0x05 access: read reset value: 0x00 bit76543210 field sq 7 sq 6 sq 5 sq 4 sq 3 sq 2 sq 1 sq 0 data type: eight bit number. usage: squal (surface quality) is a measure of the number of features visible by the sensor in the current frame. the maximum va lue is 255. since small changes in the current frame can result in changes in squal, variations in squal when looking at a surface are expe cted. the graph below shows 250 sequentially acquired squal values, while a sensor was moved slowly over white paper. squal is nearly equ al to zero, if there is no surface below the sensor. the f ocus point is important and could aff ect the squal value. f igure 37 shows an- other setup with various z- height. this g raph clearly shows that the squal count is dependent on f ocus dist ance. the data is obt ained by getting multiple readings over diff erent heights. 0 25 50 75 100 125 150 175 200 225 250 0 64 128 192 256 squal value squal values (white paper) delta from nominal focus (mm) normalized squal counts 1.0 0 -0.3 -1.0 -0.8 0.75 0.5 0.25 -0.5 1.4 1.2 1.0 0.8 0.6 0.4 0.2 0 figure 37. typical squal vs. height, z. (white paper) x + 3 x x ? 3
26 average_pixel address: 0x06 access: read reset value: 0x00 bit76543210 field 0 0 ap 5 ap 4 ap 3 ap 2 ap 1 ap 0 data type: six bit number. usage: average pixel value in current frame. minimum value = 0, maximum = 63. the average pixel value may vary from frame to fra me. shown below is a graph of 250 sequentially acquired average pixel values, while the sensor was moved slowly over white paper. maximum_pixel address: 0x07 access: read reset value: 0x00 bit76543210 field 0 0 mp 5 mp 4 mp 3 mp 2 mp 1 mp 0 data type: six bit number. usage: maximum pixel value in current frame. minimum value = 0, maximum value = 63. the maximum pixel value may vary from frame to frame. shown below is a graph of 250 sequentially acquired maximum pixel values, while the sensor was moved slowly over white paper. 0 16 32 48 64 0 25 50 75 100 125 150 175 200 225 250 average pixel average pixel (white paper) 0 25 50 75 100 125 150 175 200 225 250 0 16 32 48 64 maximum pixel value maximum pixel (white paper)
27 reserved address: 0x08 reserved address: 0x09 configuration_bits address: 0x0a access: read/write reset value: 0x00 bit76543210 field reset led_mode self test res pixdump reserved reserved sleep data type : bit field usage: register 0x0a allows the user to change the configuration of the sensor. shown below are the bits, their default values , and optional values. field name description reset power up defaults (bit always reads 0) 0 = no effect 1 = reset registers and bits to power up default settings (bold entries) led_mode led shutter mode 0 = shutter mode off (led always on, even if no motion up to 1 sec) 1 = shutter mode on (led only on when electronic shutter is open) self test [1] self tests (bit always reads 0) 0 = no tests 1 = perform all self tests, output 16 bit crc via data_out_upper and data_out_lower registers. res resolution in counts per inch 0 = 400 1 = 800 pix dump dump the pixel array through data_out_upper and data_out_lower, 256 bytes each 0 = disabled 1 = dump pixel array reserved reserved sleep sleep mode 0 = normal, falls asleep after one second of no movement (1,500 frames/s) 1 = always awake note: 1. since part of the self test is a ram test, the ram will be overwritten with the default values when the test is done. if any configuration changes from the default are needed for operation, make the changes after the self test is run. this operation requires substantially more time to complete than other register transactions.
28 reserved address: 0x0b data_out_lower address: 0x0c access: read reset value: undefined bit76543210 field do 7 do 6 do 5 do 4 do 3 do 2 do 1 do 0 data_out_upper address: 0x0d access: read reset value: undefined bit76543210 field do 15 do 14 do 13 do 12 do 11 do 10 do 9 do 8 data type: sixteen bit word. usage: data from the system self test or the pixel dump command can be read out with these registers. the data can be read from 0x0d only, or from 0x0d followed by 0x0c. data_out_upper data_out_lower notes self test result 1: db fd one of two results returned. self test result 2: 20 d6 these values are subject to change with each device design revision. pixel dump command: pixel address pixel data (bits 0-5) and pixel data status (bit 7) once the pixel dump command is given, the sensor writes the address and the value for the first pixel into the data_out_upper a nd data_out_lower registers. the msb of data_out_lower is the status bit for the data. if the bit is high, the data are not valid. once the msb i s low, the data for that particular read are valid and should be saved. the pixel address and data will then be incremented on the next frame. once the pixel dump is complete, the pixdump bit in register 0x0a should be set to zero. to obtain an accurate image to get the pixel dump image, the led needs to be turned on by changing the sleep mode of the configuration register 0x0a to always awake.
29 figure 38. directions are for a complete mouse, with the hdns-2100 lens. pixel address map (looking through the hdns-2100 lens) first pixel last pixel 00 0f 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 10 1f 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 20 2f 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 30 3f 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 40 4f 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 50 5f 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 60 6f 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 70 7f 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 80 8f 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 90 9f 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e a0 af a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae b0 bf b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be c0 cf c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce d0 df d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de e0 ef e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ff f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe rb lb top x-ray view of mouse positive x positive y 9 a2030 yyww 1 8 16
30 pixel dump pictures the f ollo wing images are the output of the pixel dump command. the data ranges from zero for complete black, (a) white paper (b) manila folder (c) neoprene mouse pad (gray) (d) usaf test chart group 3, element 1, 8 line pairs per mm figure 39. pixel dump pictures. to 63 for complete white. an internal agc cir cuit adjusts the shutter value to keep the bright est f eature (max pix el) in the mid 50s.
31 shutter_lower address: 0x0e access: read reset value: 0x64 bit76543210 field s 7 s 6 s 5 s 4 s 3 s 2 s 1 s 0 shutter_upper address: 0x0f access: read reset value: 0x00 bit76543210 field s 15 s 14 s 13 s 12 s 11 s 10 s 9 s 8 data type: sixteen bit word. usage: units are clock cycles; default value is 64. read shutter_upper first, then shutter_lower. they should be read consecutiv ely. the shutter is adjusted to keep the average and maximum pixel values within normal operating ranges. the shutter value may be different on eve ry frame. for each frame, the shutter can only change by 1/16 of the current value. shown below is a graph of 250 sequentially acquired shutter values, while the sensor was moved slowly over white paper. the f ocus point is important and could aff ect the shutter value. f igure 40 shows an- other setup with various z- heights. this graph clearly shows that the shutter value is dependent on focus distance. it shows average readings over different heights. figure 40. typical shutter vs. z (white paper). 0 25 50 75 100 125 150 175 200 225 250 0 16 32 48 64 shutter value (clock cycles) shutter values (white paper) 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0 -1 -0.75 -0.5 -0.25 0 0.25 0.5 0.75 1 distance from nominal focus (mm) normalized shutter value (counts) 3 3 ? + x x x
32 frame_period_lower address: 0x10 access: read/write reset value: 0x20 bit76543210 field fp 7 fp 6 fp 5 fp 4 fp 3 fp 2 fp 1 fp 0 frame_period_upper address: 0x11 access: read/write reset value: 0xd1 bit76543210 field fp 15 fp 14 fp 13 fp 12 fp 11 fp 10 fp 9 fp 8 data type: sixteen bit 2?s complement word. usage: sets the frame rate. the frame period counter counts up until it overflows. units are clock cycles. the maximum value of the shutter is dependent upon the frame rate and clock frequency. the formula for the maximum shutter value is: frames/second max shutter shutter decimal hex upper lower 2300* 5010 0x1392 13 92 2000* 6184 0x1828 18 28 1500 9184 0x23e0 23 e0 1000 15184 0x3b50 3b 50 500 33184 0x81a0 81 a0 * note: to optimize tracking performance on dark surfaces, it is recommended that an adaptive frame rate based on shutter value be implemented for frame rates greater than 1500. default max shutter frames/second counts frame_period decimal hex 2?s comp upper lower 2300* 7826 0x1e92 0xe16e e1 6e 2000* 9000 0x2328 0xdcd8 dc d8 1500 12000 0x2ee0 0xd120 d1 20 1000 18000 0x4650 0xb9b0 b9 b0 500 36000 0x8ca0 0x7360 73 60 changing the frame rate results in changes in the maximum speed, acceleration limits, and dark surface perfor mance. default frame period minimum frame period *note: to optimize tracking performance on dark surfaces, it is recommended that an adaptive frame rate based on shutter value be implemented for frame rates greater than 1500. for a clock frequency of 18 mhz, the following t able shows the maximum shutter value. 1 clock cycle is 55.56 nsec. for an 18 mhz clock, below are the f rame_period values for popular frame rates. (2s com plements hex) the for mula is: = counts clock rate frame rate max shutter value = clock freq frame rate C2816
33 ic register state after reset (power up or setting bit 7, register 0x0a) address register default value meaning 0x00 product_id 0x03 product id = 3 (fixed value) 0x01 revision_id 0xnn revision of ic (fixed value) (for each device design revision) 0x02 motion 0x00 no motion led = no fault no x data overflow no y data overflow resolution is 400 counts per inch 0x03 delta_x 0x00 no x motion 0x04 delta_y 0x00 no y m otion 0x05 squal 0x00 no image yet to measure 0x06 aver age_pixel 0x00 no image yet to measure 0x07 maximum_pixel 0x00 no image yet to measure 0x08 reserved 0x09 reserved 0x0a configuration_bits 0x00 part is not reset led shutter mode is off no self tests resolution = 400 counts per inch pixel dump is disabled sleep mode is enabled 0x0b reserved ? 0x0c data_out_lower undefined no data to read 0x0d data_out_upper undefined no data to read 0x0e shutter_lower 0x64 initial shutter value 0x0f shutter_upper 0x00 initial shutter value 0x10 frame_period_lower 0x20 initial frame period value (corresponds to 1500 fps) 0x11 frame_period_upper 0xd1 initial frame period value (corresponds to 1500 fps)
www.agilent.com/ semiconductors for product information and a complete list of distributors, please go to our web site. for technical assistance call: americas/canada: +1 (800) 235-0312 or (916) 788-6763 europe: +49 (0) 6441 92460 china: 10800 650 0017 hong kong: (65) 6756 2394 india, australia, new zealand: (65) 6755 1939 japan: (+81 3) 3335-8152(domestic/inter- national), or 0120-61-1280(domestic only) korea: (65) 6755 1989 singapore, malaysia, vietnam, thailand, philippines, indonesia: (65) 6755 2044 taiwan: (65) 6755 1843 data subject to change. copyright ? 2005 agilent technologies, inc. obsoletes 5988-5686en may 11, 2005 5988-8421en optical mouse design references application note an1179 eye safety calculation an1228 ordering information specify part number as follows: ADNS-2030 = sensor ic in a 16-pin st aggered dip, 20 per tube. hdns-2100 = round optical mouse lens hdns-2100#001 = t rimmed optical mouse lens hdns-2200 = led assembly clip (black) hdns-2200#001 = led assembly clip (clear) hlmp -ed80-xx000 = led


▲Up To Search▲   

 
Price & Availability of ADNS-2030

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X